<?
require_once 'config.php';
$pro_id = getValue('iPro','int','GET',0);
$pro_info = $templateProduct->pro_detail($pro_id);
if(!$pro_info) redirect('/');
$pro_arr_cat = $templateProduct->pro_cat_all($pro_info['pro_cat_id']);
$templateProduct -> page_size_connection = 6;
?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="vi" lang="vi" xmlns:og="http://ogp.me/ns#" xmlns:fb="">
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <link type="image/x-icon" href="/favicon.ico" rel="icon" />
   
   <title><?=(showSeoTitle('products',$pro_id) != '') ? showSeoTitle('products',$pro_id) : $pro_info['pro_name']?></title>
   <meta name="description" content="<?=(showSeoMeta('products',$pro_id) != '') ? showSeoMeta('products',$pro_id) : $pro_info['pro_description']?>"/>
   <meta name="description" content=""/>
   <meta name="keywords" content=""/>
   <meta name="AUTHOR" content="Bảo hộ lao động Đông Anh" />
   <meta name="COPYRIGHT" content="Sudo.vn" />
   <meta name="ROBOTS" content="INDEX, FOLLOW" />
   <meta name="RATING" content="GENERAL" />
   
   <meta property="og:title" content="<?=$pro_info['pro_name']?>" />
   <meta property="og:type" content="website" />
   <meta property="og:url" content="<?=DOMAIN.generate_product_detail_url($pro_info)?>" />
   <meta property="og:image" content="<?=DOMAIN.product_images.$pro_img_medium.$pro_info['pro_image']?>" />
   <meta property="og:site_name" content="" />
   <meta property="og:description" content="<?=$pro_info['pro_description']?>" />
   <meta property="fb:admins" content="" />
   <meta property="fb:app_id" content=""/> 
   <!-- css -->   
   <link rel="stylesheet" type="text/css" href="<?=TEMPLATE_PATH?>css/home.css" />	
   <link rel="stylesheet" type="text/css" href="<?=TEMPLATE_PATH?>css/product.css" />
   <link type="text/css" rel="stylesheet" href="<?=TEMPLATE_PATH?>css/jquery-ui.min.css" media="screen" />
   <!-- js -->
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/jquery-1.9.0.min.js"></script>
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/common.js"></script>
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/jquery.elevatezoom.js"></script>
   <script type="text/javascript" src="<?=TEMPLATE_PATH?>js/jquery-ui.min.js" charset="UTF-8"></script>
</head>
<body>   
   <? include("../social_plugins/facebook.php");?>
   <? include('view/common/vic_header.php');?>
   <div class="global_container">
      <div class="slider">
         <?include('view/common/vic_slide.php')?>
      </div>
      <div class="content_wrap">
         <div class="content_left">
            <?include('view/common/vic_content_left.php')?>
            
         </div>
         <div class="content_right">
            <?include('view/product/vip_detail.php')?>
         </div>
      </div>
      <?include('view/common/vic_social_networking.php');?>
   </div>
   <?include('view/common/vic_footer.php');?>
   <script>
    $('#zoom_01').elevateZoom({
    zoomWindowFadeIn : 100,
    zoomLensFadeIn: 100,
		gallery				: "gal1",
		imageCrossfade: true,
    zoomWindowWidth:300,
    zoomWindowHeight:300,
    zoomWindowOffetx: 1,
    scrollZoom: true, 
    cursor:"pointer"			
	});

</script>   
</body>
</html>